package com.taylor.BaiYueGu.Lanjieqi;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author Taylor
 */
@Configuration
public class InterceptorConfig implements WebMvcConfigurer {
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new LoginInterceptor())
//                //不要拦截静态资源
//                .addPathPatterns("/**")
//                .excludePathPatterns("/","/login","/css/**","/js/**","/images/**");
//    }
}
